package util

import (
	"encoding/base32"

	"github.com/satori/go.uuid"
)

//TODO
func UUID() string {
	return uuid.NewV4().String()
}

func JobID(target, kind string) string {
	return base32.StdEncoding.EncodeToString([]byte(target + kind))
}
